    class SingletonLazy{
        private volatile SingletonLazy instance=null;
        private Object locker=new Object();
        public SingletonLazy getInstance() {
            if (instance==null){
                synchronized (locker){
                   if (instance==null){
                        instance=new SingletonLazy();
                    }


                }
            }
           return instance;
        }
    }
    public class Test2 {

    }
